Release 10.1A: OpenEdge Development:
Open Client Introduction and Programming
Making procedures available to the interface
Progress applications rely on a
PROPATHenvironment variable to tell a given program where, in file-system storage, it can find an external procedure to execute at run time. ThisPROPATHvalue consists of path components, similar to an operating systemPathor JavaClasspath. Each component of thePROPATHis an absolute or relative pathname to a folder where external procedure files for the application can reside. You also can use dot (.) as aPROPATHcomponent.Similarly, for each AppObject and SubAppObject you define in ProxyGen, you also must specify
Note: ThePROPATHcomponents that ProxyGen needs to locate the external procedures for the object in its own working environment. You then select from the procedures available for each object’sPROPATHto include as methods or ProcObjects in the given AppObject or SubAppObject. Each AppObject and SubAppObject may specify the samePROPATHcomponents, or each object may specify one or more uniquePROPATHcomponents. If thePROPATHcomponents follow a logical organization, it may be useful to map those components to objects, but there is no required mapping between objects andPROPATHcomponents.PROPATHcomponent settings in ProxyGen are not necessarily the same as the run-timePROPATHsettings on the AppServer. In ProxyGen, you specify them only to locate procedures in the ProxyGen environment for defining the Open Client interface, not to execute the procedures on the AppServer. However you set up yourPROPATH, you must ensure that the relative paths under thePROPATHcomponent settings remain the same between the AppServer and ProxyGen.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |